<!--上传页面-->
<template>
  <div class="main-box">
    <div class="box-top">
      <router-link to="/creator/upMT" exact active-class="active-link">
        <div class="top-text">
          <div class="link-text">上传视频</div>
        </div>
      </router-link>
      <router-link to="/creator/upPT" exact active-class="active-link">
        <div class="top-text">
          <div class="link-text">上传图文</div>
        </div>
      </router-link>
    </div>
    <div class="box-main">
      <RouterView />
      <!-- <div class="main-update">

</div> -->
    </div>
  </div>
</template>

<style scoped lang="scss">
.main-box {
  background: white;
  width: 100%;
  max-width: 1180px;
  min-width: 1024px;
  min-height: 600px;
  margin: 16px auto 50px;
  border-radius: 8px;
  .box-top {
    display: flex;
    border-bottom: 1px solid #f1f1f1;
    a {
      text-decoration: none;
      color: #999a9c;
      .top-text {
        padding-top: 20px;
        padding-right: 20px;
        padding-left: 20px;
        // padding-bottom: 20px;
      }
    }
    .active-link {
      color: #ff2442;
      .link-text {
        border-bottom: 3px solid red;
        padding-bottom: 20px;
      }
    }
  }
  .box-main {
    min-height: 600px;
    display: flex;
    justify-content: center;
  }
}
</style>
